/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.click.app.dao;

import com.click.app.model.FeatureProduct;
import com.click.app.model.Product;
import java.util.List;

/**
 *
 * @author arnold
 */

public interface FeatureProductDao extends GenericDao<FeatureProduct, Long> {
public List<FeatureProduct> findById(Long id);

    List<FeatureProduct> findByProduct(Product product);

    List<FeatureProduct> findFeatureProducts();

    List<String> featureProductsNames();

    List<FeatureProduct> findFeatureProductsName(String name);

    List<FeatureProduct> findFeatureProductsByDescription(String description);

    List<FeatureProduct> findFeatureProductsByNameAndDescription(String name, String description);
}
